package org.bigjava.user.service;

import org.bigjava.bean.Topic;

import java.util.List;


public interface TopicService {

    //根据id查询话题
    Topic queryTopicById(long id);

    //热门话题分页
    List<Topic> indexHotTopic(int pageNumber);

    //查询总共多少个话题
    int totalRecord();

    //点击话题进入话题详情页面
    Topic queryTopicByName(String topicName);
}
